package com.kaisu.blog.infrastructure.blog.dao;

import com.kaisu.blog.infrastructure.blog.CommentPO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author kaisu
 */
@Repository
public interface CommentPODAO extends JpaRepository<CommentPO, String> {
    Page<CommentPO> findAll(Specification<CommentPO> specification, Pageable pageable);
}
